home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2959 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: doc.ic.ac.uk!mdf
  2. From: mdf@doc.ic.ac.uk (Martin Frost)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Window refresh
  5. Date: 7 Feb 1996 13:41:28 -0000
  6. Organization: Dept. of Computing, Imperial College, University of London, UK.
  7. Distribution: world
  8. Message-ID: <4faa68$rai@oak22.doc.ic.ac.uk>
  9. Reply-To: mdf@doc.ic.ac.uk (Martin Frost)
  10. NNTP-Posting-Host: oak22.doc.ic.ac.uk
  11. X-Newsreader: mxrn 6.18-23
  12.  
  13.  
  14. First, the situation. I have a 640*256 4 plane screen, and a borderless
  15. backdrop window covering all but the title bar. If I made this window
  16. SMART_REFRESH, then it would obviously waste a lot of memory, but I don't
  17. store the data on the screen anywhere, so can't redraw if I made it simple
  18. refresh.
  19.  
  20. The problem comes when I have Reqtools and DOS requesters opening. What I
  21. really want to do is to be able to save just the bit of background that the
  22. new window is covering, and restore this when I'm finished. Is this possible?
  23.  
  24. I guess that I could do it by patching OpenWindow() and its derivatives to
  25. check if a window is opening on my screen, and if so save the background and
  26. clear the WFLG_DRAGBAR flag, but this is too extreme a solution for my liking.
  27.  
  28. TIA, Martin.
  29.